package com.txtsqlclient.ui.si;

import com.txtsqlclient.ui.vo.Session;

/**
 * @author spadda
 * 
 */
public class ExitCommandSubInterface extends NoPromptBasedSubInterface {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.txtsqlclient.ui.InputHandler#handleInput(com.txtsqlclient.ui.Session)
	 */
	public void handleInput(final Session session) {
		// Currently, only 'exit' command is supported. Hence, doing it here.
		// Ideally, this should go into a separate sub-interface (like
		// ExitCommandSubInerface).

		// Setting the session to inactive in case of exit.
		session.setActive(false);
	}

}